#!/bin/bash

./mkfs filesys.dat 256 32

./mkdir /d1
echo "foo" | ./tee /d1/foo
echo "bar" | ./tee /d1/bar
./ln /d1/bar /d1/barlnk

./mkdir /d2
echo "foobar" | ./tee /d2/foobar

./mkdir /d3
./ln /d2/foobar /d3/foobarlnks
